package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.dto.ServiceQueryDto;
import com.csun.cmny.provider.model.domain.OmcServiceFirstLevel;
import com.csun.cmny.provider.model.vo.ServiceFirstLevelVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OmcServiceFirstLevelMapper extends Mapper<OmcServiceFirstLevel> {

    /*
    * 查询服务及其下二级菜单
    * */
    List<ServiceFirstLevelVO> listService(ServiceQueryDto serviceQueryDto);

    /*
    * 分页查询
    * */
    List<ServiceFirstLevelVO> listPage(ServiceQueryDto serviceQueryDto);

    List<String> selectServiceFirstLevel(List<Long> firstLevelIds);
}